package com.lagou.client;

import io.netty.channel.Channel;

/**
 * Description: MyChannel.
 *
 * @author Wengy
 * @since JDK 1.8
 * @since 1.0.0
 */
public class MyChannel {
   
    String id;
    
    String host;
    
    int port;
    
    Channel channel;
    
    long lastTimeCosts;
    
    public Channel getChannel() {
        return channel;
    }
    
    public void setChannel(Channel channel) {
        this.channel = channel;
    }
    
    public long getLastTimeCosts() {
        return lastTimeCosts;
    }
    
    public void setLastTimeCosts(long lastTimeCosts) {
        this.lastTimeCosts = lastTimeCosts;
    }
    
    public String getId() {
        return id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    public String getHost() {
        return host;
    }
    
    public void setHost(String host) {
        this.host = host;
    }
    
    public int getPort() {
        return port;
    }
    
    public void setPort(int port) {
        this.port = port;
    }
}
